//用户模块
export default {
  state: () => ({
    userinfo:window.localStorage.getItem('userinfo')
  }),
  getters: {
    getUserinfo(state) {
      if(state.userinfo){
        return JSON.parse(state.userinfo)
      }else{
        return null
      }
    }
  },
  mutations: {

  },
  actions: {

  },
  modules: {

  }
}
